#include<bits/stdc++.h>
#define ll long long
#define inf 1000000007
using namespace std;

int main()
{
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    ios::sync_with_stdio(false),cin.tie(0),cout.tie(0);
    int n,m;
    cin >> n >> m ;
    for(int i = 1;i <= m;i++)
        puts("1");
    return 0;
}